package com.mtons.mblog.modules.data;

import com.alibaba.fastjson.annotation.JSONField;
import com.mtons.mblog.modules.entity.PostAttribute;
import com.mtons.mblog.modules.entity.Quest;
import com.mtons.mblog.modules.entity.QuestAttribute;

import java.io.Serializable;

public class QuestVO extends Quest implements Serializable {
    private static final long serialVersionUID = 7290753603695695506L;

    private String editor;
    private String content;

    private UserVO author;

    @JSONField(serialize = false)
    private QuestAttribute attribute;

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public UserVO getAuthor() {
        return author;
    }

    public void setAuthor(UserVO author) {
        this.author = author;
    }

    public QuestAttribute getAttribute() {
        return attribute;
    }

    public void setAttribute(QuestAttribute attribute) {
        this.attribute = attribute;
    }
}
